<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="com.lywz.core.util.IpUtil"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>${webtitle} - 抱歉，你没有相关权限</title>
	</head>
	<body id="error403Page" class="error">
			<div id="">
				<div class="http403 error msg">
					<h2>403</h2>
					<p>抱歉，你应该没有相关权限。</p>
				</div>
			</div>
	</body>
</html>
<%
        try{
                org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog("monitor");
                String url = "http://"+request.getServerName()+ "/" + (String)request.getAttribute("javax.servlet.error.request_uri")+
                                        (request.getQueryString()==null?"":("?"+request.getQueryString()));
                String referer = request.getHeader("Referer");
                String ip = IpUtil.getClientIP(request);
                String p = "403|" + url + "|" + referer +  "|" + ip;
                logger.warn(p);
        }catch(java.lang.Throwable t1){
        	t1.printStackTrace();
        }
%>
